import { 
    checkDatalabIsBuy,
    getBuyDatalabInfo,
    getAllMachine,
    buyNotebook,
    renewalFeeInfo,
    seletedMachine,
    priceCalculate,
    consumeCode,
    sureBuy
     } from '@/api/order'
import { buyReasource } from '@/utils/http'
export default {
    state:{

    },
    mutations:{
        
    },
    actions:{
        XcheckDatalabIsBuy(context,params){
            return checkDatalabIsBuy(params)
        },
        XgetBuyDatalabInfo(context,params){
            return getBuyDatalabInfo(params)
        },
        XgetAllMachine(context,params){
            return getAllMachine(params)
        },
        XbuyNotebook(context,params){
            return buyNotebook(params)
        },
        XrenewalFeeInfo(context,params){
            return renewalFeeInfo(params)
        },
        XseletedMachine(context,params){
            return seletedMachine(params)
        },
        XpriceCalculate(context,params){
            return priceCalculate(params)
        },
        XbuyReasource(context,params){
            return buyReasource(params)
        },
        XconsumeCode(context,params){
            return consumeCode(params)
        },
        XsureBuy(context,params){
            return sureBuy(params)
        },
    }
}